package com.zxy.ziems.server.energy.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zxy.ziems.server.energy.pojo.entity.EnergyEfficiencyLibraryEntity;
import com.zxy.ziems.server.energy.pojo.param.EnergyEfficiencyLibraryParam;
import com.zxy.ziems.server.energy.pojo.vo.EnergyEfficiencyCompareTypeVO;
import com.zxy.ziems.server.energy.pojo.vo.EnergyEfficiencyLibraryVO;
import com.zxy.ziems.server.mybatis.core.mapper.BaseMapperX;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface EnergyEfficiencyLibraryMapper extends BaseMapperX<EnergyEfficiencyLibraryEntity> {

    IPage<EnergyEfficiencyLibraryVO> queryPageList(@Param("page") IPage<EnergyEfficiencyLibraryVO> page, @Param("param") EnergyEfficiencyLibraryParam param);

    List<EnergyEfficiencyCompareTypeVO> getDeviceTataType(@Param("deviceIds")List<String> deviceIds, @Param("timeDimension")Integer timeDimension);
}
